/*
 * Copyright 2025 NXP
 * NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
 * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
 * activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
 * comply with and are bound by, such license terms.  If you do not agree to be bound by the applicable license
 * terms, then you may not retain, install, activate or otherwise use the software.
 */

#include "lvgl.h"
#include <stdio.h>
#include "gui_guider.h"
#include "events_init.h"
#include "widgets_init.h"

#include "custom.h"

int screen_home_digital_clock_1_min_value = 25;
int screen_home_digital_clock_1_hour_value = 11;
int screen_home_digital_clock_1_sec_value = 50;
char screen_home_digital_clock_1_meridiem[] = "AM";
void setup_scr_screen_home(lv_ui *ui)
{
    // Write codes screen_home
    ui->screen_home = lv_obj_create(NULL);
    ui->g_kb_screen_home = lv_keyboard_create(ui->screen_home);
    lv_obj_add_event_cb(ui->g_kb_screen_home, kb_event_cb, LV_EVENT_ALL, NULL);
    lv_obj_add_flag(ui->g_kb_screen_home, LV_OBJ_FLAG_HIDDEN);
    lv_obj_set_style_text_font(ui->g_kb_screen_home, &lv_font_SourceHanSerifSC_Regular_18, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_size(ui->screen_home, 240, 320);
    lv_obj_set_scrollbar_mode(ui->screen_home, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_home, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_tileview_home
    ui->screen_home_tileview_home = lv_tileview_create(ui->screen_home);
    ui->screen_home_tileview_home_tile_home = lv_tileview_add_tile(ui->screen_home_tileview_home, 0, 0, LV_DIR_RIGHT);
    ui->screen_home_tileview_home_tile_MQTT = lv_tileview_add_tile(ui->screen_home_tileview_home, 1, 0, LV_DIR_LEFT | LV_DIR_RIGHT);
    ui->screen_home_tileview_home_tile_2 = lv_tileview_add_tile(ui->screen_home_tileview_home, 2, 0, LV_DIR_LEFT);
    lv_obj_set_pos(ui->screen_home_tileview_home, 0, 0);
    lv_obj_set_size(ui->screen_home_tileview_home, 240, 320);
    lv_obj_set_scrollbar_mode(ui->screen_home_tileview_home, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_tileview_home, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_home_tileview_home, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_tileview_home, lv_color_hex(0x555773), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_tileview_home, LV_GRAD_DIR_VER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_color(ui->screen_home_tileview_home, lv_color_hex(0x2F92DA), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_main_stop(ui->screen_home_tileview_home, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_stop(ui->screen_home_tileview_home, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_tileview_home, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_tileview_home, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_home_tileview_home, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_home_tileview_home, 255, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_tileview_home, lv_color_hex(0xeaeff3), LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_tileview_home, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_tileview_home, 0, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);

    // Write codes screen_home_cont_6
    ui->screen_home_cont_6 = lv_obj_create(ui->screen_home_tileview_home_tile_home);
    lv_obj_set_pos(ui->screen_home_cont_6, 14, 229);
    lv_obj_set_size(ui->screen_home_cont_6, 212, 72);
    lv_obj_set_scrollbar_mode(ui->screen_home_cont_6, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_cont_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_cont_6, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_cont_6, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_cont_6, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_cont_6, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_cont_6, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_cont_6, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_cont_6, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_cont_6, LV_GRAD_DIR_HOR, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_color(ui->screen_home_cont_6, lv_color_hex(0x249c56), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_main_stop(ui->screen_home_cont_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_stop(ui->screen_home_cont_6, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_cont_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_cont_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_cont_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_cont_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_cont_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_imgbtn_set
    ui->screen_home_imgbtn_set = lv_imgbtn_create(ui->screen_home_cont_6);
    lv_imgbtn_set_src(ui->screen_home_imgbtn_set, LV_IMGBTN_STATE_RELEASED, NULL, &_set_alpha_38x38, NULL);
    lv_imgbtn_set_src(ui->screen_home_imgbtn_set, LV_IMGBTN_STATE_PRESSED, NULL, &_btn6_alpha_38x38, NULL);
    ui->screen_home_imgbtn_set_label = lv_label_create(ui->screen_home_imgbtn_set);
    lv_label_set_text(ui->screen_home_imgbtn_set_label, "");
    lv_label_set_long_mode(ui->screen_home_imgbtn_set_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->screen_home_imgbtn_set_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->screen_home_imgbtn_set, 0, LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->screen_home_imgbtn_set, 15, 7);
    lv_obj_set_size(ui->screen_home_imgbtn_set, 38, 38);

    // Write style for screen_home_imgbtn_set, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_set, lv_color_hex(0xB01A9F), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_set, &lv_font_SourceHanSerifSC_Regular_20, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_set, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_imgbtn_set, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_imgbtn_set, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->screen_home_imgbtn_set, true, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_set, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_home_imgbtn_set, Part: LV_PART_MAIN, State: LV_STATE_PRESSED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_set, 0, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_set, 255, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_set, lv_color_hex(0xFF33FF), LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_set, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_set, 255, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_set, 0, LV_PART_MAIN | LV_STATE_PRESSED);

    // Write style for screen_home_imgbtn_set, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_set, 0, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_set, 255, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_set, lv_color_hex(0xFF33FF), LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_set, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_set, 255, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_set, 0, LV_PART_MAIN | LV_STATE_CHECKED);

    // Write style for screen_home_imgbtn_set, Part: LV_PART_MAIN, State: LV_IMGBTN_STATE_RELEASED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_set, 0, LV_PART_MAIN | LV_IMGBTN_STATE_RELEASED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_set, 255, LV_PART_MAIN | LV_IMGBTN_STATE_RELEASED);

    // Write codes screen_home_label_9
    ui->screen_home_label_9 = lv_label_create(ui->screen_home_cont_6);
    lv_label_set_text(ui->screen_home_label_9, "设置");
    lv_label_set_long_mode(ui->screen_home_label_9, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_9, -6, 47);
    lv_obj_set_size(ui->screen_home_label_9, 82, 18);

    // Write style for screen_home_label_9, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_9, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_9, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_9, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_9, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_9, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_9, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_cont_4
    ui->screen_home_cont_4 = lv_obj_create(ui->screen_home_tileview_home_tile_home);
    lv_obj_set_pos(ui->screen_home_cont_4, 14, 122);
    lv_obj_set_size(ui->screen_home_cont_4, 211, 93);
    lv_obj_set_scrollbar_mode(ui->screen_home_cont_4, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_cont_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_cont_4, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_cont_4, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_cont_4, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_cont_4, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_cont_4, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_cont_4, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_cont_4, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_cont_4, LV_GRAD_DIR_HOR, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_color(ui->screen_home_cont_4, lv_color_hex(0xc64242), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_main_stop(ui->screen_home_cont_4, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_stop(ui->screen_home_cont_4, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_cont_4, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_cont_4, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_cont_4, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_cont_4, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_cont_4, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_spangroup_3
    // Write codes screen_home_spangroup_3
    ui->screen_home_spangroup_3 = lv_spangroup_create(ui->screen_home_cont_4);
    lv_spangroup_set_align(ui->screen_home_spangroup_3, LV_TEXT_ALIGN_LEFT);
    lv_spangroup_set_overflow(ui->screen_home_spangroup_3, LV_SPAN_OVERFLOW_CLIP);
    lv_spangroup_set_mode(ui->screen_home_spangroup_3, LV_SPAN_MODE_BREAK);
    // create span
    ui->screen_home_spangroup_3_span = lv_spangroup_new_span(ui->screen_home_spangroup_3);
    lv_span_set_text(ui->screen_home_spangroup_3_span, "最高温度：℃\n\n最低温度：℃\n\n湿度：%");
    lv_style_set_text_color(&ui->screen_home_spangroup_3_span->style, lv_color_hex(0x000000));
    lv_style_set_text_decor(&ui->screen_home_spangroup_3_span->style, LV_TEXT_DECOR_NONE);
    lv_style_set_text_font(&ui->screen_home_spangroup_3_span->style, &lv_font_SourceHanSerifSC_Regular_12);
    lv_obj_set_pos(ui->screen_home_spangroup_3, 56, 13);
    lv_obj_set_size(ui->screen_home_spangroup_3, 91, 39);

    // Write style state: LV_STATE_DEFAULT for &style_screen_home_spangroup_3_main_main_default
    static lv_style_t style_screen_home_spangroup_3_main_main_default;
    ui_init_style(&style_screen_home_spangroup_3_main_main_default);

    lv_style_set_border_width(&style_screen_home_spangroup_3_main_main_default, 0);
    lv_style_set_radius(&style_screen_home_spangroup_3_main_main_default, 0);
    lv_style_set_bg_opa(&style_screen_home_spangroup_3_main_main_default, 0);
    lv_style_set_pad_top(&style_screen_home_spangroup_3_main_main_default, 0);
    lv_style_set_pad_right(&style_screen_home_spangroup_3_main_main_default, 0);
    lv_style_set_pad_bottom(&style_screen_home_spangroup_3_main_main_default, 0);
    lv_style_set_pad_left(&style_screen_home_spangroup_3_main_main_default, 0);
    lv_style_set_shadow_width(&style_screen_home_spangroup_3_main_main_default, 0);
    lv_obj_add_style(ui->screen_home_spangroup_3, &style_screen_home_spangroup_3_main_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_spangroup_refr_mode(ui->screen_home_spangroup_3);

    // Write codes screen_home_label_weathe
    ui->screen_home_label_weathe = lv_label_create(ui->screen_home_cont_4);
    lv_label_set_text(ui->screen_home_label_weathe, "晴");
    lv_label_set_long_mode(ui->screen_home_label_weathe, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_weathe, 142, 64);
    lv_obj_set_size(ui->screen_home_label_weathe, 61, 15);

    // Write style for screen_home_label_weathe, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_weathe, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_weathe, &lv_font_SourceHanSerifSC_Regular_12, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_weathe, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_weathe, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_weathe, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_weathe, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    // Write codes screen_home_label_5
    ui->screen_home_label_5 = lv_label_create(ui->screen_home_cont_4);
    lv_label_set_text(ui->screen_home_label_5, "天气：");
    lv_label_set_long_mode(ui->screen_home_label_5, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_5, 8, 52);
    lv_obj_set_size(ui->screen_home_label_5, 55, 18);

    // Write style for screen_home_label_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_5, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_5, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_5, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_5, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_imgbtn_1
    ui->screen_home_imgbtn_1 = lv_imgbtn_create(ui->screen_home_cont_4);
    lv_obj_add_flag(ui->screen_home_imgbtn_1, LV_OBJ_FLAG_CHECKABLE);
    lv_imgbtn_set_src(ui->screen_home_imgbtn_1, LV_IMGBTN_STATE_RELEASED, NULL, &_reset_alpha_34x35, NULL);
    lv_imgbtn_set_src(ui->screen_home_imgbtn_1, LV_IMGBTN_STATE_PRESSED, NULL, &_btn6_alpha_34x35, NULL);
    ui->screen_home_imgbtn_1_label = lv_label_create(ui->screen_home_imgbtn_1);
    lv_label_set_text(ui->screen_home_imgbtn_1_label, "");
    lv_label_set_long_mode(ui->screen_home_imgbtn_1_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->screen_home_imgbtn_1_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->screen_home_imgbtn_1, 0, LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->screen_home_imgbtn_1, 11, 11);
    lv_obj_set_size(ui->screen_home_imgbtn_1, 34, 35);

    // Write style for screen_home_imgbtn_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_1, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_1, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_imgbtn_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_imgbtn_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->screen_home_imgbtn_1, true, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_home_imgbtn_1, Part: LV_PART_MAIN, State: LV_STATE_PRESSED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_1, 0, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_1, 255, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_1, lv_color_hex(0xFF33FF), LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_1, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_1, 255, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_1, 0, LV_PART_MAIN | LV_STATE_PRESSED);

    // Write style for screen_home_imgbtn_1, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_1, 0, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_1, 255, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_1, lv_color_hex(0xFF33FF), LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_1, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_1, 255, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_1, 0, LV_PART_MAIN | LV_STATE_CHECKED);

    // Write style for screen_home_imgbtn_1, Part: LV_PART_MAIN, State: LV_IMGBTN_STATE_RELEASED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_1, 0, LV_PART_MAIN | LV_IMGBTN_STATE_RELEASED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_1, 255, LV_PART_MAIN | LV_IMGBTN_STATE_RELEASED);

    // Write codes screen_home_cont_5
    ui->screen_home_cont_5 = lv_obj_create(ui->screen_home_tileview_home_tile_home);
    lv_obj_set_pos(ui->screen_home_cont_5, 13, 39);
    lv_obj_set_size(ui->screen_home_cont_5, 213, 68);
    lv_obj_set_scrollbar_mode(ui->screen_home_cont_5, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_cont_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_cont_5, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_cont_5, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_cont_5, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_cont_5, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_cont_5, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_cont_5, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_cont_5, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_cont_5, LV_GRAD_DIR_HOR, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_color(ui->screen_home_cont_5, lv_color_hex(0x2c37ea), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_main_stop(ui->screen_home_cont_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_stop(ui->screen_home_cont_5, 228, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_cont_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_cont_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_cont_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_cont_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_cont_5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_imgbtn_2
    ui->screen_home_imgbtn_2 = lv_imgbtn_create(ui->screen_home_cont_5);
    lv_imgbtn_set_src(ui->screen_home_imgbtn_2, LV_IMGBTN_STATE_RELEASED, NULL, &_bilibili_alpha_50x50, NULL);
    ui->screen_home_imgbtn_2_label = lv_label_create(ui->screen_home_imgbtn_2);
    lv_label_set_text(ui->screen_home_imgbtn_2_label, "");
    lv_label_set_long_mode(ui->screen_home_imgbtn_2_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->screen_home_imgbtn_2_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->screen_home_imgbtn_2, 0, LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->screen_home_imgbtn_2, 7, 4);
    lv_obj_set_size(ui->screen_home_imgbtn_2, 50, 50);

    // Write style for screen_home_imgbtn_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_2, lv_color_hex(0xed8383), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_2, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_imgbtn_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_imgbtn_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->screen_home_imgbtn_2, true, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_home_imgbtn_2, Part: LV_PART_MAIN, State: LV_STATE_PRESSED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_2, 0, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_2, 255, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_2, lv_color_hex(0xFF33FF), LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_2, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_2, 255, LV_PART_MAIN | LV_STATE_PRESSED);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_2, 0, LV_PART_MAIN | LV_STATE_PRESSED);

    // Write style for screen_home_imgbtn_2, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_2, 0, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_2, 255, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->screen_home_imgbtn_2, lv_color_hex(0xFF33FF), LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_font(ui->screen_home_imgbtn_2, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_text_opa(ui->screen_home_imgbtn_2, 255, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_set_style_shadow_width(ui->screen_home_imgbtn_2, 0, LV_PART_MAIN | LV_STATE_CHECKED);

    // Write style for screen_home_imgbtn_2, Part: LV_PART_MAIN, State: LV_IMGBTN_STATE_RELEASED.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_imgbtn_2, 0, LV_PART_MAIN | LV_IMGBTN_STATE_RELEASED);
    lv_obj_set_style_img_opa(ui->screen_home_imgbtn_2, 255, LV_PART_MAIN | LV_IMGBTN_STATE_RELEASED);

    // Write codes screen_home_label_fans
    ui->screen_home_label_fans = lv_label_create(ui->screen_home_cont_5);
    lv_label_set_text(ui->screen_home_label_fans, "");
    lv_label_set_long_mode(ui->screen_home_label_fans, LV_LABEL_LONG_SCROLL_CIRCULAR);
    lv_obj_set_pos(ui->screen_home_label_fans, 56, 38);
    lv_obj_set_size(ui->screen_home_label_fans, 43, 22);

    // Write style for screen_home_label_fans, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_fans, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_fans, &lv_font_montserratMedium_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_fans, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_fans, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_fans, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_label_11
    ui->screen_home_label_11 = lv_label_create(ui->screen_home_cont_5);
    lv_label_set_text(ui->screen_home_label_11, "℃");
    lv_label_set_long_mode(ui->screen_home_label_11, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_11, 185, 36);
    lv_obj_set_size(ui->screen_home_label_11, 27, 18);

    // Write style for screen_home_label_11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_11, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_11, &lv_font_SourceHanSerifSC_Regular_20, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_11, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_11, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_11, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_11, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_label_10
    ui->screen_home_label_10 = lv_label_create(ui->screen_home_cont_5);
    lv_label_set_text(ui->screen_home_label_10, "%");
    lv_label_set_long_mode(ui->screen_home_label_10, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_10, 189, 9);
    lv_obj_set_size(ui->screen_home_label_10, 24, 19);

    // Write style for screen_home_label_10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_10, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_10, &lv_font_montserratMedium_20, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_10, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_10, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_10, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_10, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_label_temp
    ui->screen_home_label_temp = lv_label_create(ui->screen_home_cont_5);
    lv_label_set_text(ui->screen_home_label_temp, "20");
    lv_label_set_long_mode(ui->screen_home_label_temp, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_temp, 162, 37);
    lv_obj_set_size(ui->screen_home_label_temp, 30, 19);

    // Write style for screen_home_label_temp, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_temp, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_temp, &lv_font_montserratMedium_20, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_temp, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_temp, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_temp, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_temp, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_label_humi
    ui->screen_home_label_humi = lv_label_create(ui->screen_home_cont_5);
    lv_label_set_text(ui->screen_home_label_humi, "32");
    lv_label_set_long_mode(ui->screen_home_label_humi, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_humi, 162, 8);
    lv_obj_set_size(ui->screen_home_label_humi, 31, 19);

    // Write style for screen_home_label_humi, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_humi, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_humi, &lv_font_montserratMedium_20, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_humi, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_humi, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_humi, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_humi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_img_1
    ui->screen_home_img_1 = lv_img_create(ui->screen_home_cont_5);
    lv_obj_add_flag(ui->screen_home_img_1, LV_OBJ_FLAG_CLICKABLE);
    lv_img_set_src(ui->screen_home_img_1, &_DHT11_alpha_54x59);
    lv_img_set_pivot(ui->screen_home_img_1, 50, 50);
    lv_img_set_angle(ui->screen_home_img_1, 0);
    lv_obj_set_pos(ui->screen_home_img_1, 107, 2);
    lv_obj_set_size(ui->screen_home_img_1, 54, 59);

    // Write style for screen_home_img_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_img_recolor_opa(ui->screen_home_img_1, 215, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_img_recolor(ui->screen_home_img_1, lv_color_hex(0x6228b7), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_img_opa(ui->screen_home_img_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_img_1, 9, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->screen_home_img_1, true, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_cont_3
    ui->screen_home_cont_3 = lv_obj_create(ui->screen_home_tileview_home_tile_MQTT);
    lv_obj_set_pos(ui->screen_home_cont_3, 10, 174);
    lv_obj_set_size(ui->screen_home_cont_3, 220, 142);
    lv_obj_set_scrollbar_mode(ui->screen_home_cont_3, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_cont_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_cont_3, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_cont_3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_cont_3, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_cont_3, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_cont_3, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_cont_3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_cont_3, lv_color_hex(0x2FDAAE), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_cont_3, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_label_2
    ui->screen_home_label_2 = lv_label_create(ui->screen_home_cont_3);
    lv_label_set_text(ui->screen_home_label_2, "接收：");
    lv_label_set_long_mode(ui->screen_home_label_2, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_2, 9, 6);
    lv_obj_set_size(ui->screen_home_label_2, 52, 15);

    // Write style for screen_home_label_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_2, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_2, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_2, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_spangroup_2
    ui->screen_home_spangroup_2 = lv_spangroup_create(ui->screen_home_cont_3);
    lv_spangroup_set_align(ui->screen_home_spangroup_2, LV_TEXT_ALIGN_LEFT);
    lv_spangroup_set_overflow(ui->screen_home_spangroup_2, LV_SPAN_OVERFLOW_CLIP);
    lv_spangroup_set_mode(ui->screen_home_spangroup_2, LV_SPAN_MODE_BREAK);
    // create span
    ui->screen_home_spangroup_2_span = lv_spangroup_new_span(ui->screen_home_spangroup_2);
    lv_span_set_text(ui->screen_home_spangroup_2_span, "xx00: over!");
    lv_style_set_text_color(&ui->screen_home_spangroup_2_span->style, lv_color_hex(0x000000));
    lv_style_set_text_decor(&ui->screen_home_spangroup_2_span->style, LV_TEXT_DECOR_NONE);
    lv_style_set_text_font(&ui->screen_home_spangroup_2_span->style, &lv_font_montserratMedium_12);
    lv_obj_set_pos(ui->screen_home_spangroup_2, 10, 27);
    lv_obj_set_size(ui->screen_home_spangroup_2, 197, 101);

    // Write style state: LV_STATE_DEFAULT for &style_screen_home_spangroup_2_main_main_default
    static lv_style_t style_screen_home_spangroup_2_main_main_default;
    ui_init_style(&style_screen_home_spangroup_2_main_main_default);

    lv_style_set_border_width(&style_screen_home_spangroup_2_main_main_default, 0);
    lv_style_set_radius(&style_screen_home_spangroup_2_main_main_default, 0);
    lv_style_set_bg_opa(&style_screen_home_spangroup_2_main_main_default, 101);
    lv_style_set_bg_color(&style_screen_home_spangroup_2_main_main_default, lv_color_hex(0x379cf1));
    lv_style_set_bg_grad_dir(&style_screen_home_spangroup_2_main_main_default, LV_GRAD_DIR_NONE);
    lv_style_set_pad_top(&style_screen_home_spangroup_2_main_main_default, 0);
    lv_style_set_pad_right(&style_screen_home_spangroup_2_main_main_default, 0);
    lv_style_set_pad_bottom(&style_screen_home_spangroup_2_main_main_default, 0);
    lv_style_set_pad_left(&style_screen_home_spangroup_2_main_main_default, 0);
    lv_style_set_shadow_width(&style_screen_home_spangroup_2_main_main_default, 0);
    lv_obj_add_style(ui->screen_home_spangroup_2, &style_screen_home_spangroup_2_main_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_spangroup_refr_mode(ui->screen_home_spangroup_2);

    // Write codes screen_home_cont_2
    ui->screen_home_cont_2 = lv_obj_create(ui->screen_home_tileview_home_tile_MQTT);
    lv_obj_set_pos(ui->screen_home_cont_2, 10, 31);
    lv_obj_set_size(ui->screen_home_cont_2, 220, 140);
    lv_obj_set_scrollbar_mode(ui->screen_home_cont_2, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_cont_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_cont_2, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_cont_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_cont_2, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_cont_2, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_cont_2, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_cont_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_cont_2, lv_color_hex(0xf88080), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_cont_2, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_spangroup_1
    ui->screen_home_spangroup_1 = lv_spangroup_create(ui->screen_home_cont_2);
    lv_spangroup_set_align(ui->screen_home_spangroup_1, LV_TEXT_ALIGN_LEFT);
    lv_spangroup_set_overflow(ui->screen_home_spangroup_1, LV_SPAN_OVERFLOW_CLIP);
    lv_spangroup_set_mode(ui->screen_home_spangroup_1, LV_SPAN_MODE_BREAK);
    // create span
    ui->screen_home_spangroup_1_span = lv_spangroup_new_span(ui->screen_home_spangroup_1);
    lv_span_set_text(ui->screen_home_spangroup_1_span, "hello\ntopic\n");
    lv_style_set_text_color(&ui->screen_home_spangroup_1_span->style, lv_color_hex(0x000000));
    lv_style_set_text_decor(&ui->screen_home_spangroup_1_span->style, LV_TEXT_DECOR_NONE);
    lv_style_set_text_font(&ui->screen_home_spangroup_1_span->style, &lv_font_montserratMedium_12);
    lv_obj_set_pos(ui->screen_home_spangroup_1, 8, 35);
    lv_obj_set_size(ui->screen_home_spangroup_1, 199, 88);

    // Write style state: LV_STATE_DEFAULT for &style_screen_home_spangroup_1_main_main_default
    static lv_style_t style_screen_home_spangroup_1_main_main_default;
    ui_init_style(&style_screen_home_spangroup_1_main_main_default);

    lv_style_set_border_width(&style_screen_home_spangroup_1_main_main_default, 0);
    lv_style_set_radius(&style_screen_home_spangroup_1_main_main_default, 0);
    lv_style_set_bg_opa(&style_screen_home_spangroup_1_main_main_default, 224);
    lv_style_set_bg_color(&style_screen_home_spangroup_1_main_main_default, lv_color_hex(0x01c337));
    lv_style_set_bg_grad_dir(&style_screen_home_spangroup_1_main_main_default, LV_GRAD_DIR_NONE);
    lv_style_set_pad_top(&style_screen_home_spangroup_1_main_main_default, 0);
    lv_style_set_pad_right(&style_screen_home_spangroup_1_main_main_default, 0);
    lv_style_set_pad_bottom(&style_screen_home_spangroup_1_main_main_default, 0);
    lv_style_set_pad_left(&style_screen_home_spangroup_1_main_main_default, 0);
    lv_style_set_shadow_width(&style_screen_home_spangroup_1_main_main_default, 0);
    lv_obj_add_style(ui->screen_home_spangroup_1, &style_screen_home_spangroup_1_main_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_spangroup_refr_mode(ui->screen_home_spangroup_1);

    // Write codes screen_home_label_3
    ui->screen_home_label_3 = lv_label_create(ui->screen_home_cont_2);
    lv_label_set_text(ui->screen_home_label_3, "发送：");
    lv_label_set_long_mode(ui->screen_home_label_3, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_3, 6, 6);
    lv_obj_set_size(ui->screen_home_label_3, 55, 14);

    // Write style for screen_home_label_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_3, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_3, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_3, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_cont_7
    ui->screen_home_cont_7 = lv_obj_create(ui->screen_home_tileview_home_tile_2);
    lv_obj_set_pos(ui->screen_home_cont_7, 3, 182);
    lv_obj_set_size(ui->screen_home_cont_7, 231, 130);
    lv_obj_set_scrollbar_mode(ui->screen_home_cont_7, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_cont_7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_cont_7, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_cont_7, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_cont_7, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_cont_7, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_cont_7, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_cont_7, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_cont_7, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_cont_7, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_cont_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_cont_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_cont_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_cont_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_cont_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_roller_year
    ui->screen_home_roller_year = lv_roller_create(ui->screen_home_cont_7);
    lv_roller_set_options(ui->screen_home_roller_year, "2024\n2025\n2026\n2027\n2028\n2029\n2030\n2031\n2032\n2033\n2034\n2035\n2036\n2037\n2038\n2039\n2040\n2041", LV_ROLLER_MODE_INFINITE);
    lv_obj_set_pos(ui->screen_home_roller_year, 14, 5);
    lv_obj_set_width(ui->screen_home_roller_year, 51);

    // Write style for screen_home_roller_year, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_radius(ui->screen_home_roller_year, 5, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_roller_year, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_roller_year, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_roller_year, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_roller_year, lv_color_hex(0x333333), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_roller_year, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_roller_year, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_roller_year, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_home_roller_year, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_roller_year, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_roller_year, lv_color_hex(0xe6e6e6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_roller_year, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_roller_year, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_roller_year, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_roller_year, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_home_roller_year, Part: LV_PART_SELECTED, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_home_roller_year, 255, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_roller_year, lv_color_hex(0x2195f6), LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_roller_year, LV_GRAD_DIR_NONE, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_roller_year, lv_color_hex(0xFFFFFF), LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_roller_year, &lv_font_montserratMedium_12, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_roller_year, 255, LV_PART_SELECTED | LV_STATE_DEFAULT);

    lv_roller_set_visible_row_count(ui->screen_home_roller_year, 1);
    // Write codes screen_home_btn_ask
    ui->screen_home_btn_ask = lv_btn_create(ui->screen_home_cont_7);
    ui->screen_home_btn_ask_label = lv_label_create(ui->screen_home_btn_ask);
    lv_label_set_text(ui->screen_home_btn_ask_label, "" LV_SYMBOL_OK " ");
    lv_label_set_long_mode(ui->screen_home_btn_ask_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->screen_home_btn_ask_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->screen_home_btn_ask, 0, LV_STATE_DEFAULT);
    lv_obj_set_width(ui->screen_home_btn_ask_label, LV_PCT(100));
    lv_obj_set_pos(ui->screen_home_btn_ask, 142, 81);
    lv_obj_set_size(ui->screen_home_btn_ask, 48, 26);

    // Write style for screen_home_btn_ask, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_home_btn_ask, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_btn_ask, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_btn_ask, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_home_btn_ask, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_btn_ask, 5, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_btn_ask, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_btn_ask, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_btn_ask, &lv_font_montserratMedium_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_btn_ask, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_btn_ask, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_roller_day
    ui->screen_home_roller_day = lv_roller_create(ui->screen_home_cont_7);
    lv_roller_set_options(ui->screen_home_roller_day, "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12", LV_ROLLER_MODE_INFINITE);
    lv_obj_set_pos(ui->screen_home_roller_day, 157, 5);
    lv_obj_set_width(ui->screen_home_roller_day, 41);

    // Write style for screen_home_roller_day, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_radius(ui->screen_home_roller_day, 5, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_roller_day, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_roller_day, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_roller_day, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_roller_day, lv_color_hex(0x333333), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_roller_day, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_roller_day, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_roller_day, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_home_roller_day, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_roller_day, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_roller_day, lv_color_hex(0xe6e6e6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_roller_day, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_roller_day, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_roller_day, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_roller_day, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_home_roller_day, Part: LV_PART_SELECTED, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_home_roller_day, 255, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_roller_day, lv_color_hex(0x2195f6), LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_roller_day, LV_GRAD_DIR_NONE, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_roller_day, lv_color_hex(0xFFFFFF), LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_roller_day, &lv_font_montserratMedium_12, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_roller_day, 255, LV_PART_SELECTED | LV_STATE_DEFAULT);

    lv_roller_set_visible_row_count(ui->screen_home_roller_day, 1);
    // Write codes screen_home_roller_moth
    ui->screen_home_roller_moth = lv_roller_create(ui->screen_home_cont_7);
    lv_roller_set_options(ui->screen_home_roller_moth, "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31", LV_ROLLER_MODE_INFINITE);
    lv_obj_set_pos(ui->screen_home_roller_moth, 94, 5);
    lv_obj_set_width(ui->screen_home_roller_moth, 38);

    // Write style for screen_home_roller_moth, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_radius(ui->screen_home_roller_moth, 5, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_roller_moth, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_roller_moth, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_roller_moth, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_roller_moth, lv_color_hex(0x333333), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_roller_moth, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_roller_moth, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_roller_moth, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_home_roller_moth, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_roller_moth, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_roller_moth, lv_color_hex(0xe6e6e6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_roller_moth, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_roller_moth, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_roller_moth, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_roller_moth, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_home_roller_moth, Part: LV_PART_SELECTED, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_home_roller_moth, 255, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_roller_moth, lv_color_hex(0x2195f6), LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_roller_moth, LV_GRAD_DIR_NONE, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_roller_moth, lv_color_hex(0xFFFFFF), LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_roller_moth, &lv_font_montserratMedium_12, LV_PART_SELECTED | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_roller_moth, 255, LV_PART_SELECTED | LV_STATE_DEFAULT);

    lv_roller_set_visible_row_count(ui->screen_home_roller_moth, 1);
    // Write codes screen_home_label_8
    ui->screen_home_label_8 = lv_label_create(ui->screen_home_cont_7);
    lv_label_set_text(ui->screen_home_label_8, "年");
    lv_label_set_long_mode(ui->screen_home_label_8, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_8, 69, 12);
    lv_obj_set_size(ui->screen_home_label_8, 19, 16);

    // Write style for screen_home_label_8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_8, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_8, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_8, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_8, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_8, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_8, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_label_7
    ui->screen_home_label_7 = lv_label_create(ui->screen_home_cont_7);
    lv_label_set_text(ui->screen_home_label_7, "月");
    lv_label_set_long_mode(ui->screen_home_label_7, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_7, 136, 12);
    lv_obj_set_size(ui->screen_home_label_7, 16, 16);

    // Write style for screen_home_label_7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_7, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_7, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_7, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_7, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_7, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_7, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_label_6
    ui->screen_home_label_6 = lv_label_create(ui->screen_home_cont_7);
    lv_label_set_text(ui->screen_home_label_6, "日");
    lv_label_set_long_mode(ui->screen_home_label_6, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_6, 200, 12);
    lv_obj_set_size(ui->screen_home_label_6, 16, 17);

    // Write style for screen_home_label_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_6, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_6, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_6, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_6, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_6, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_6, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_radiobtn_1
    ui->screen_home_radiobtn_1 = lv_radiobtn_create(ui->screen_home_cont_7);
    ui->screen_home_radiobtn_1_item0 = lv_radiobtn_add_item(ui->screen_home_radiobtn_1, "年");
    ui->screen_home_radiobtn_1_item1 = lv_radiobtn_add_item(ui->screen_home_radiobtn_1, "月");
    ui->screen_home_radiobtn_1_item2 = lv_radiobtn_add_item(ui->screen_home_radiobtn_1, "日");
    lv_obj_set_pos(ui->screen_home_radiobtn_1, 42, 40);
    lv_obj_set_size(ui->screen_home_radiobtn_1, 77, 81);

    // Write style state: LV_STATE_DEFAULT for &style_screen_home_radiobtn_1_main_main_default
    static lv_style_t style_screen_home_radiobtn_1_main_main_default;
    ui_init_style(&style_screen_home_radiobtn_1_main_main_default);

    lv_style_set_pad_top(&style_screen_home_radiobtn_1_main_main_default, 5);
    lv_style_set_pad_left(&style_screen_home_radiobtn_1_main_main_default, 5);
    lv_style_set_pad_right(&style_screen_home_radiobtn_1_main_main_default, 5);
    lv_style_set_pad_bottom(&style_screen_home_radiobtn_1_main_main_default, 5);
    lv_style_set_border_width(&style_screen_home_radiobtn_1_main_main_default, 1);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_main_main_default, 0);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_main_main_default, lv_color_hex(0xe1e6ee));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_main_main_default, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_main_main_default, 6);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_main_main_default, 255);
    lv_style_set_bg_color(&style_screen_home_radiobtn_1_main_main_default, lv_color_hex(0x2195f6));
    lv_style_set_bg_grad_dir(&style_screen_home_radiobtn_1_main_main_default, LV_GRAD_DIR_NONE);
    lv_style_set_shadow_width(&style_screen_home_radiobtn_1_main_main_default, 0);
    lv_obj_add_style(ui->screen_home_radiobtn_1, &style_screen_home_radiobtn_1_main_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_home_radiobtn_1_extra_btns_main_default
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_main_default;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_main_default);

    lv_style_set_pad_top(&style_screen_home_radiobtn_1_extra_btns_main_default, 0);
    lv_style_set_pad_right(&style_screen_home_radiobtn_1_extra_btns_main_default, 1);
    lv_style_set_pad_bottom(&style_screen_home_radiobtn_1_extra_btns_main_default, 5);
    lv_style_set_pad_left(&style_screen_home_radiobtn_1_extra_btns_main_default, 1);
    lv_style_set_text_color(&style_screen_home_radiobtn_1_extra_btns_main_default, lv_color_hex(0xffffff));
    lv_style_set_text_font(&style_screen_home_radiobtn_1_extra_btns_main_default, &lv_font_SourceHanSerifSC_Regular_16);
    lv_style_set_text_opa(&style_screen_home_radiobtn_1_extra_btns_main_default, 255);
    lv_style_set_text_letter_space(&style_screen_home_radiobtn_1_extra_btns_main_default, 2);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_main_default, 6);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_main_default, 0);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_home_radiobtn_1_extra_btns_indicator_default
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_indicator_default;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_indicator_default);

    lv_style_set_border_width(&style_screen_home_radiobtn_1_extra_btns_indicator_default, 2);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_extra_btns_indicator_default, 255);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_extra_btns_indicator_default, lv_color_hex(0x5cd624));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_extra_btns_indicator_default, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_indicator_default, 20);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_indicator_default, 255);
    lv_style_set_bg_color(&style_screen_home_radiobtn_1_extra_btns_indicator_default, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_home_radiobtn_1_extra_btns_indicator_default, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_indicator_default, LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_indicator_default, LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_indicator_default, LV_PART_INDICATOR | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_PRESSED for &style_screen_home_radiobtn_1_extra_btns_indicator_pressed
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_indicator_pressed;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed);

    lv_style_set_border_width(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed, 2);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed, 255);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed, lv_color_hex(0x5cd624));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed, 20);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed, 255);
    lv_style_set_bg_color(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_home_radiobtn_1_extra_btns_indicator_pressed, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_indicator_pressed, LV_PART_INDICATOR | LV_STATE_PRESSED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_indicator_pressed, LV_PART_INDICATOR | LV_STATE_PRESSED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_indicator_pressed, LV_PART_INDICATOR | LV_STATE_PRESSED);

    // Write style state: LV_STATE_CHECKED for &style_screen_home_radiobtn_1_extra_btns_indicator_checked
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_indicator_checked;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_indicator_checked);

    lv_style_set_border_width(&style_screen_home_radiobtn_1_extra_btns_indicator_checked, 2);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_extra_btns_indicator_checked, 255);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_extra_btns_indicator_checked, lv_color_hex(0x5cd624));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_extra_btns_indicator_checked, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_indicator_checked, 20);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_indicator_checked, 255);
    lv_style_set_bg_color(&style_screen_home_radiobtn_1_extra_btns_indicator_checked, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_home_radiobtn_1_extra_btns_indicator_checked, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_indicator_checked, LV_PART_INDICATOR | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_indicator_checked, LV_PART_INDICATOR | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_indicator_checked, LV_PART_INDICATOR | LV_STATE_CHECKED);

    // Write style state: LV_STATE_CHECKED | LV_STATE_PRESSED for &style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed);

    lv_style_set_border_width(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, 2);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, 255);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, lv_color_hex(0x5cd624));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, 20);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, 255);
    lv_style_set_bg_color(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, LV_PART_INDICATOR | LV_STATE_CHECKED | LV_STATE_PRESSED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, LV_PART_INDICATOR | LV_STATE_CHECKED | LV_STATE_PRESSED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_indicator_checked_pressed, LV_PART_INDICATOR | LV_STATE_CHECKED | LV_STATE_PRESSED);

    // Write style state: LV_STATE_DEFAULT for &style_screen_home_radiobtn_1_extra_btns_custom_default
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_custom_default;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_custom_default);

    lv_style_set_border_width(&style_screen_home_radiobtn_1_extra_btns_custom_default, 2);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_extra_btns_custom_default, 0);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_extra_btns_custom_default, lv_color_hex(0xffffff));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_extra_btns_custom_default, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_custom_default, 20);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_custom_default, 0);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_custom_default, LV_PART_CUSTOM_FIRST | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_custom_default, LV_PART_CUSTOM_FIRST | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_custom_default, LV_PART_CUSTOM_FIRST | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_PRESSED for &style_screen_home_radiobtn_1_extra_btns_custom_pressed
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_custom_pressed;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_custom_pressed);

    lv_style_set_border_width(&style_screen_home_radiobtn_1_extra_btns_custom_pressed, 2);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_extra_btns_custom_pressed, 0);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_extra_btns_custom_pressed, lv_color_hex(0xffffff));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_extra_btns_custom_pressed, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_custom_pressed, 20);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_custom_pressed, 0);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_custom_pressed, LV_PART_CUSTOM_FIRST | LV_STATE_PRESSED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_custom_pressed, LV_PART_CUSTOM_FIRST | LV_STATE_PRESSED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_custom_pressed, LV_PART_CUSTOM_FIRST | LV_STATE_PRESSED);

    // Write style state: LV_STATE_CHECKED for &style_screen_home_radiobtn_1_extra_btns_custom_checked
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_custom_checked;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_custom_checked);

    lv_style_set_border_width(&style_screen_home_radiobtn_1_extra_btns_custom_checked, 2);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_extra_btns_custom_checked, 255);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_extra_btns_custom_checked, lv_color_hex(0x5cd624));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_extra_btns_custom_checked, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_custom_checked, 20);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_custom_checked, 255);
    lv_style_set_bg_color(&style_screen_home_radiobtn_1_extra_btns_custom_checked, lv_color_hex(0x5cd624));
    lv_style_set_bg_grad_dir(&style_screen_home_radiobtn_1_extra_btns_custom_checked, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_custom_checked, LV_PART_CUSTOM_FIRST | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_custom_checked, LV_PART_CUSTOM_FIRST | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_custom_checked, LV_PART_CUSTOM_FIRST | LV_STATE_CHECKED);

    // Write style state: LV_STATE_CHECKED | LV_STATE_PRESSED for &style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed
    static lv_style_t style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed;
    ui_init_style(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed);

    lv_style_set_border_width(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, 2);
    lv_style_set_border_opa(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, 255);
    lv_style_set_border_color(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, lv_color_hex(0x5cd624));
    lv_style_set_border_side(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, 20);
    lv_style_set_bg_opa(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, 255);
    lv_style_set_bg_color(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, lv_color_hex(0x5cd624));
    lv_style_set_bg_grad_dir(&style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item2, &style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, LV_PART_CUSTOM_FIRST | LV_STATE_CHECKED | LV_STATE_PRESSED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item1, &style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, LV_PART_CUSTOM_FIRST | LV_STATE_CHECKED | LV_STATE_PRESSED);
    lv_obj_add_style(ui->screen_home_radiobtn_1_item0, &style_screen_home_radiobtn_1_extra_btns_custom_checked_pressed, LV_PART_CUSTOM_FIRST | LV_STATE_CHECKED | LV_STATE_PRESSED);

    // Write codes screen_home_chart_1
    ui->screen_home_chart_1 = lv_chart_create(ui->screen_home_tileview_home_tile_2);
    lv_chart_set_type(ui->screen_home_chart_1, LV_CHART_TYPE_LINE);
    lv_chart_set_div_line_count(ui->screen_home_chart_1, 5, 31);
    lv_chart_set_point_count(ui->screen_home_chart_1, 4);
    lv_chart_set_range(ui->screen_home_chart_1, LV_CHART_AXIS_PRIMARY_Y, -20, 50);
    lv_chart_set_axis_tick(ui->screen_home_chart_1, LV_CHART_AXIS_PRIMARY_Y, 10, 5, 6, 2, true, 30);
    lv_chart_set_range(ui->screen_home_chart_1, LV_CHART_AXIS_SECONDARY_Y, 0, 100);
    lv_chart_set_axis_tick(ui->screen_home_chart_1, LV_CHART_AXIS_PRIMARY_X, 10, 5, 10, 7, true, 17);
    lv_chart_set_zoom_x(ui->screen_home_chart_1, 700);
    lv_chart_set_zoom_y(ui->screen_home_chart_1, 256);
    ui->screen_home_chart_1_0 = lv_chart_add_series(ui->screen_home_chart_1, lv_color_hex(0x000000), LV_CHART_AXIS_PRIMARY_Y);
#if LV_USE_FREEMASTER == 0
    lv_chart_set_next_value(ui->screen_home_chart_1, ui->screen_home_chart_1_0, 10);
    lv_chart_set_next_value(ui->screen_home_chart_1, ui->screen_home_chart_1_0, 16);
    lv_chart_set_next_value(ui->screen_home_chart_1, ui->screen_home_chart_1_0, 30);
    lv_chart_set_next_value(ui->screen_home_chart_1, ui->screen_home_chart_1_0, 40);
#endif
    lv_obj_set_pos(ui->screen_home_chart_1, 29, 35);
    lv_obj_set_size(ui->screen_home_chart_1, 201, 118);
    lv_obj_set_scrollbar_mode(ui->screen_home_chart_1, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_chart_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_home_chart_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_chart_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_chart_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_home_chart_1, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_chart_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_chart_1, lv_color_hex(0xff003b), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_chart_1, LV_BORDER_SIDE_FULL | LV_BORDER_SIDE_LEFT, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_chart_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_line_width(ui->screen_home_chart_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_line_color(ui->screen_home_chart_1, lv_color_hex(0x5b2b32), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_line_opa(ui->screen_home_chart_1, 51, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_chart_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_home_chart_1, Part: LV_PART_TICKS, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->screen_home_chart_1, lv_color_hex(0x151212), LV_PART_TICKS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_chart_1, &lv_font_montserratMedium_12, LV_PART_TICKS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_chart_1, 255, LV_PART_TICKS | LV_STATE_DEFAULT);
    lv_obj_set_style_line_width(ui->screen_home_chart_1, 2, LV_PART_TICKS | LV_STATE_DEFAULT);
    lv_obj_set_style_line_color(ui->screen_home_chart_1, lv_color_hex(0xe8e8e8), LV_PART_TICKS | LV_STATE_DEFAULT);
    lv_obj_set_style_line_opa(ui->screen_home_chart_1, 255, LV_PART_TICKS | LV_STATE_DEFAULT);

    // Write codes screen_home_cont_1
    ui->screen_home_cont_1 = lv_obj_create(ui->screen_home);
    lv_obj_set_pos(ui->screen_home_cont_1, 0, 0);
    lv_obj_set_size(ui->screen_home_cont_1, 240, 30);
    lv_obj_set_scrollbar_mode(ui->screen_home_cont_1, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_home_cont_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_cont_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_home_cont_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_home_cont_1, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_home_cont_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_cont_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_home_cont_1, lv_color_hex(0xc4550d), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_home_cont_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_label_1
    ui->screen_home_label_1 = lv_label_create(ui->screen_home_cont_1);
    lv_label_set_text(ui->screen_home_label_1, "" LV_SYMBOL_WIFI " ");
    lv_label_set_long_mode(ui->screen_home_label_1, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->screen_home_label_1, 178, 7);
    lv_obj_set_size(ui->screen_home_label_1, 56, 17);

    // Write style for screen_home_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_label_1, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_label_1, &lv_font_montserratMedium_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_label_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_label_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_label_1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_home_led_1
    ui->screen_home_led_1 = lv_led_create(ui->screen_home_cont_1);
    lv_led_set_brightness(ui->screen_home_led_1, 255);
    lv_led_set_color(ui->screen_home_led_1, lv_color_hex(0x00a1b5));
    lv_obj_set_pos(ui->screen_home_led_1, 121, 12);
    lv_obj_set_size(ui->screen_home_led_1, 8, 8);

    // Write codes screen_home_led_2
    ui->screen_home_led_2 = lv_led_create(ui->screen_home_cont_1);
    lv_led_set_brightness(ui->screen_home_led_2, 255);
    lv_led_set_color(ui->screen_home_led_2, lv_color_hex(0x00a1b5));
    lv_obj_set_pos(ui->screen_home_led_2, 149, 12);
    lv_obj_set_size(ui->screen_home_led_2, 8, 8);

    // Write codes screen_home_digital_clock_1
    static bool screen_home_digital_clock_1_timer_enabled = false;
    ui->screen_home_digital_clock_1 = lv_dclock_create(ui->screen_home_cont_1, "11:25:50 AM");
    if (!screen_home_digital_clock_1_timer_enabled)
    {
        lv_timer_create(screen_home_digital_clock_1_timer, 1000, NULL);
        screen_home_digital_clock_1_timer_enabled = true;
    }
    lv_obj_set_pos(ui->screen_home_digital_clock_1, 4, 0);
    lv_obj_set_size(ui->screen_home_digital_clock_1, 164, 28);

    // Write style for screen_home_digital_clock_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_radius(ui->screen_home_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_home_digital_clock_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_home_digital_clock_1, &lv_font_montserratMedium_16, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_home_digital_clock_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_home_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_home_digital_clock_1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_home_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_home_digital_clock_1, 7, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_home_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_home_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_home_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_home_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // The custom code of screen_home.
    /*这里是入口函数*/

    // Update current screen layout.
    lv_obj_update_layout(ui->screen_home);

    // Init events for screen.
    events_init_screen_home(ui);
}
